<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.ccntec.com" prefix="sp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'test.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<%@ include file="/inculdes/themelib.jsp" %>

  </head>
  
  <body>
  	<a href="${pageContext.request.contextPath}/servlet/dataServlet">获取值</a>
  	<sp:form.select.simple data="汉族,藏族,其他" value="1,2,3" name="xx" split="," id="xx" showDefault="true"/>
  	<sp:form.select.simple data="汉族,藏族,其他" value="1,2,3" name="xx" split="," id="xx" selectData="其他"/>
    <sp:form.select.simple data="汉族,藏族,其他" value="1,2,3" name="xx" split="," id="xx" selectValue="2"/>
  	<sp:form.select.map data="${dataMap}" name="map"/>
  	<sp:form.select.map data="${dataMap}" name="map" showDefault="true"/>
  	<sp:form.select.map data="${dataMap}" name="map" selectValue="4"/>
  	<sp:form.select.map data="${dataMap}" name="map" selectData="map选项2"/>
  </body>
</html>
